package wnhz.com.business.freeshop.activity.fourthfree;

import android.content.Context;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.os.Message;
import android.view.View;
import android.view.WindowManager;
import android.widget.EditText;
import android.widget.FrameLayout;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import wnhz.com.business.R;
import wnhz.com.business.base.MyBaseActivity;
import wnhz.com.business.impl.ActionBarClickListener;
import wnhz.com.business.view.TranslucentActionBarW;

public class NextActivity extends MyBaseActivity implements ActionBarClickListener {


    @BindView(R.id.actionbar)
    TranslucentActionBarW actionbar;
    @BindView(R.id.et_legalperson_name_f)
    EditText etLegalpersonNameF;
    @BindView(R.id.ll_legalperson_name_f)
    LinearLayout llLegalpersonNameF;
    @BindView(R.id.et_legalperson_phone_f)
    EditText etLegalpersonPhoneF;
    @BindView(R.id.ll_legalperson_phone_f)
    LinearLayout llLegalpersonPhoneF;
    @BindView(R.id.et_legalperson_id_f)
    EditText etLegalpersonIdF;
    @BindView(R.id.ll_legalperson_id_f)
    LinearLayout llLegalpersonIdF;
    @BindView(R.id.img_id_a)
    ImageView imgIdA;
    @BindView(R.id.img_id1)
    ImageView imgId1;
    @BindView(R.id.ll_id1)
    LinearLayout llId1;
    @BindView(R.id.img_id_b)
    ImageView imgIdB;
    @BindView(R.id.img_id2)
    ImageView imgId2;
    @BindView(R.id.ll_id2)
    LinearLayout llId2;
    @BindView(R.id.fl_id_b)
    FrameLayout flIdB;
    @BindView(R.id.tv_sign)
    TextView tvSign;

    public static Intent createIntent(Context context) {
        Intent intent = new Intent(context, NextActivity.class);
        return intent;
    }

    @Override
    protected void handleMsg(Message msg) {

    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_next);
        ButterKnife.bind(this);
        actionbar.setData("下一步", R.drawable.ic_left_back, null, 0, null, 0, this);
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            this.getWindow().addFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
            //改变状态栏颜色
            this.getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
            actionbar.setStatusBarHeight(getStatusBarHeight());
        }
    }

    @Override
    public void onLeftClick() {

        finish();

    }

    @Override
    public void onRightClick() {

    }

    @Override
    public void onEditTextClick() {

    }

    @OnClick(R.id.tv_sign)
    public void onViewClicked() {
    }
}
